package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;

@Data
public class AdminEcologyIncomeDTO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("收益比例")
/*    @DecimalMin(value = "0.01",message = "收益比例不能小于0.01")
    @DecimalMax(value = "100",message = "收益比例不能大于100.00")*/
    private BigDecimal incomeScale;
}
